home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr29 / joki20.zip / JOKI.DOC < prev    next >
Text File  |  1993-04-20  |  20KB  |  445 lines

  1. Joki(TM) 2.0 $5 Edition User's, Programmer's and Redistributor's Guide
  2. Rev 1.1 Copyright (C) 1993 BIGGUN International. CIS 100100,574
  3.  
  4. BIGGUN and Joki are trademarks of BIGGUN International. All other names used
  5. are marks or registered marks of their respective companies.
  6.  
  7.  
  8. - 1 - Welcome
  9. - 1 - System Requirements
  10. - 1 - Setting up Joki
  11. - 2 - Joystick Calibration
  12. - 2 - Running Joki
  13. - 4 - The hI-score Coder
  14. - 5 - Governing Your Computer
  15. - 5 - Disk Vendor License
  16. - 6 - Programmers
  17. - 6 - Joystick Manufacturers
  18. - 6 - Wholesalers & Retailers
  19. - 6 - Sysops and Magazines
  20. -7&8- User Registration
  21.  
  22.  
  23. o  Welcome
  24. Welcome. Now you can play 'keyboard only' games like Qbasic Nibbles, Pacworm,
  25. BMB Compuscience's SOPWITH and many more without saving your joystick! Don't
  26. throw away your keyboard yet, because you'll need it to create hI-score
  27. programs using Joki's integrated hI-score coder.
  28.  
  29. Before you get over excited, we would like to stress that Joki does not yet
  30. support all 'keyboard only' games. You should experiment for yourself. Chances
  31. are very good that Joki 2.0 will work for shoot-em-up games written in BASIC.
  32.  
  33. If you can't wait, read "Running Joki" on page 2. If you are desperate, you
  34. can program Joki for cursor control in DOS applications, for example; word
  35. processors, CAD etc. We recommend using a mouse for that instead.
  36.  
  37.  
  38.  
  39. o  System Requirements
  40. Basically, Joki needs a computer running DOS 2.0 or higher, with a joystick
  41. that is plugged into a joystick port.
  42.  
  43.  
  44.  
  45. o  Setting up Joki
  46. Joki 2.0 doesn't have an automatic setup program, you should do it manually.
  47. Make a \JOKI directory on the drive of your preference. Copy JOKI.COM,
  48. JOKI.DOC AND README.BAT to it. If you have Joki on a floppy disk and you want
  49. it on the hard drive, here's how:
  50. C:
  51. MD\JOKI
  52. CD\JOKI
  53. COPY A:JOKI.COM
  54. COPY A:JOKI.DOC
  55. COPY A:README.BAT
  56. To run Joki from its new directory, type:
  57. JOKI
  58. But first read on.
  59.  
  60.  
  61.                 - 2 -
  62.  
  63. Include it in the DOS path if you want (can). Create all your hI-score
  64. programs (explained later) in the \JOKI directory. The \autoexec.bat file can
  65. be used to activate Joki automatically when you switch on your computer.
  66.  
  67. Joki 2.0 supports only one joystick at a time. If you have 2 joysticks plugged
  68. in, try the joystick in port A. Unplug one joystick if Joki responds to both.
  69.  
  70. If you use a sticky key utility, make sure that Left Shift and Control keys
  71. are 'up', if not, Joki won't generate input.
  72.  
  73.  
  74. o  Joystick Calibration
  75. Joki assumes that your joystick's trim control(s), is reasonably centered, so
  76. you should tune the trim(s) before running Joki. If your joystick has nothing
  77. like it, look again, it's usually located on the base of a joystick and looks
  78. like the wheel of an inverted flying glider or like a radio's volume adjuster.
  79. If you see nothing, turn the joystick upside down and if it looks like a
  80. paraglider, i.e., no wheels, at least make sure that the stick is centered
  81. before you run Joki.
  82.  
  83.  
  84.  
  85. o  Running Joki
  86. Some keyboard games want CAPITAL input or need Num Lock locked. Joki ignores
  87. the state of Caps Lock and Num Lock during game play, so if your game only
  88. responds to lowercase letters, make sure Caps Lock is off before you program
  89. your joystick.
  90.  
  91. At this stage, Joki has no idea of what game you intend playing with your
  92. joystick. You've decided to play the 1986 version of BMB SOPWITH and got its
  93. main keyboard control keys memorized. You leave the joystick centered and
  94. press the comma ',' for Stick left, slash '/' for Stick right, 'x' for Stick
  95. forward to increase RPM and '\' to decrease RPM. Joki boldly accepts these
  96. keys. It would be nice to fire and bomb with your hands secured on the
  97. joystick, so you press Space for Trigger1 and 'b' for Trigger2.
  98.  
  99. Joki displays its current status and goes resident. For confirmation on the
  100. keys you've programmed, move the stick around and press the joystick buttons.
  101. A true dogfighter might program Trigger2 to roll his SOPWITH biplane. To
  102. reprogram your joystick, run Joki again. If you forgot your keys, you can quit
  103. Joki by pressing Ctrl-Break. If a game has less that six controls, you can
  104. press any irrelevant keys for the functions you don't require. Joki's autofire
  105. is auto automatically, so switch off the joystick's autofire switch (if any)
  106. for fastest firing results.
  107.  
  108. The following settings can be adjusted on-the-fly, e.g., during game play:
  109. (Default settings are listed first)
  110. Repeat rate [Standard/FFFast/Slow] : Left Shift-Trigger1
  111. Analog stick sensitivity [High/Low] : Left Shift-Trigger2
  112. Stick's center position [Centered] : Ctrl-Trigger1
  113. Activity [on/off] : Ctrl-Trigger2
  114. Example: If you want to toggle stick sensitivity to Low, press and release
  115. Trigger2 of your joystick while holding down the Left Shift key on your
  116. keyboard. If you know how to select a menu with Alt-F for instance, it should
  117. be a breeze. To see which trigger is which, program the triggers with two
  118. different keys and then press the triggers at the DOS command prompt.
  119.  
  120.  
  121.                 - 3 -
  122.  
  123. When Joki is active (not hibernating), it might slow down some DOS commands
  124. for reasons beyond the scope of this text. To switch off Activity, hold down a
  125. Control key on the keyboard and press Trigger2 of your joystick, then release
  126. both -- Joki will go into hibernating mode. To re-center the joystick, press
  127. Ctrl-Trigger1; the current stick position becomes the new center. The FFFast
  128. repeat rate is game dependent and it can overwhelm some games in that they'll
  129. freeze when you move the joystick. If you want to change the repeat rate from
  130. FFFast to Standard, holding down the Left Shift key and pressing Trigger1
  131. twice won't work -- you'll have to press Left Shift twice while holding in
  132. Trigger1. Joki will pause the foreground program until you release the key,
  133. for confirmation that a setting was changed. Note that Joki's settings can't
  134. be properly adjusted while editing in the QBASIC EDITOR, but it works while a
  135. QBASIC game is running.
  136.  
  137. Joki will display its current settings if you rerun JOKI.COM or a hI-score
  138. program.
  139.  
  140. Have you ever heard short beeps while holding down a key(s) in some games even
  141. though game sound was off? Such beeps mean that the keyboard buffer is full
  142. and that the key should be released. Have you ever dropped a bomb just to
  143. discover that a cannon stopped firing even though you were still pressing the
  144. fire key? Many games can't handle simultaneous key presses, hence when you
  145. press a new key, any other 'down' key is ignored.
  146.  
  147. If you play a keyboard game using Joki and your joystick, your keyboard will
  148. still function normally, but you'll only use it for less frequent operations
  149. such as quitting. With Joki and Sopwith, you can drop a bomb while blowing the
  150. enemy out of the sky in a 5g climb, because Joki can generate 'simultaneous'
  151. key presses. Move your joystick diagonally to make Sammy sail 45 degrees in
  152. Qbasic Nibbles -- if you see uneven 'steps', select the FFFast repeat rate.
  153. Sopwith will freeze if the FFFast repeat rate is selected -- Standard works
  154. best.
  155.  
  156. Joki gives you an unfair advantage, but please, play clean.
  157.  
  158. Joki works for multi-player games if one player uses the keyboard. The
  159. keyboard player must press and release keys, that is, not 'stand' on them.
  160. Keyboard input from Joki won't be as crisp as for "one player at a time"
  161. games.
  162.  
  163. For games like Qbasic Nibbles, you should use a fast flick of the wrist to
  164. turn the snake (depending on the game speed), in other words, if you are
  165. traveling North and want to turn East, move the stick quickly to the right and
  166. center again. In Sopwith, you'll find that if you programmed Joki as in the
  167. above example, i.e., Stick forward == increase RPM, moving the stick left
  168. forward will increase RPM, but the plane will pull less G, because SOPWITH.EXE
  169. is doing more processing internally. So, for most positive G you must move the
  170. stick to its left only, with the triggers untouched. Select Low analog stick
  171. sensitivity (bigger dead zone) if you want to move the stick more before
  172. getting a response. It's easier to align for a low level fly-by while firing,
  173. because the plane will turn slower. Hold your joystick in both your hands.
  174.  
  175. You may initially find playing your favorite keyboard games with a joystick
  176. difficult and that the joystick seems touchy, stick with it, once you've
  177. mastered a game with your joystick you'll never look back.
  178.  
  179.  
  180.  
  181.                 - 4 -
  182.  
  183. Some games with built-in joystick support, like PARATROOPER, work better when
  184. you use Joki for joystick control, just program Joki with the game's keys. For
  185. PARATROOPER; press Space to start (to select keyboard control) and watch those
  186. paratroopers disappear, select FFFast repeat rate and see them vanish... You
  187. can switch off Joki with Ctrl-Trigger2 for games with good built-in joystick
  188. support. If you unplug your joystick, Joki will stop generating input and go
  189. into hibernating mode.
  190.  
  191.  
  192.  
  193.  
  194. o  The hI-score Coder
  195. The hI-score coder creates hI-score programs that automate joystick
  196. programming.
  197.  
  198. THE hI-score coder WILL OVERWRITE ANY EXISTING FILE BY THE NAME YOU PROVIDE
  199. WITHOUT ASKING YOU FOR CONFIRMATION, ALWAYS KEEP BACKUPS OF YOUR PRECIOUS DATA
  200. AND PROGRAMS. Make sure you change to the \JOKI directory to create hI-score
  201. programs. Joki's integrated hI-score coder uses DOS redirection to save
  202. hI-score files.
  203.  
  204. To create a hI-score program for SOPWITH, type:
  205. JOKI >SOP.BAT
  206. Joki seems to run normally, but in the background, its hI-score coder is
  207. recording every key you press. The new program is saved with the name you
  208. specified which needn't have been >SOP.BAT; >These.bat >NAMES.bat >will.BAT
  209. >also.bat >Do.Bat. Just make sure you precede the name with a greater than
  210. sign '>' (which is not part of the name; it's a DOS redirection command) and
  211. follow it with the .BAT extension. You should use names that remind you of the
  212. games they're used for.
  213.  
  214. Some games use batch files to startup. hI-score programs are actually batch
  215. files too. So to prevent game files from being overwritten, create and keep
  216. all your hI-score programs in the \JOKI directory. Yes, advanced user, you can
  217. include Joki in the DOS path and use a snazzy command like:
  218. joki >c:\joki\hacker.bat. If you quit Joki with Ctrl-Break, the hI-score
  219. program will not be completed.
  220.  
  221. Joki has a feature called ramissing, which means that if you power down or
  222. reset your PC, Joki vanishes from RAM just to reappear when you run a hI-score
  223. program by typing its name. So next time you want to play Sopwith, install
  224. Joki by typing SOP and optionally its .BAT extension. Joki assumes the
  225. joystick is centered when it goes resident. If you have a SOPWITH.BAT hI-score
  226. program in the same directory as SOPWITH.EXE, typing SOPWITH will run
  227. SOPWITH.EXE not SOPWITH.BAT.
  228.  
  229. Joki can be installed (made go resident and active in RAM) from the
  230. \autoexec.bat file, just EDIT \AUTOEXEC.BAT and add these lines:
  231. CD\JOKI
  232. CALL SOP.BAT
  233. CD\
  234. where SOP.BAT is a hI-score program. For MS-DOS < 3.3 you can read a hI-score
  235. program into autoexec.bat.
  236.  
  237.  
  238.  
  239.  
  240.  
  241.                 - 5 -
  242.  
  243. hI-score programs can be run from a menu system, but keep in mind that Joki
  244. is a TSR program and that some menu systems won't install TSRs successfully.
  245. It is best to load your DOS menu program after Joki is installed so that it
  246. can execute hI-score programs with confidence. DOSSHELL will install Joki
  247. successfully if you use a command like [CALL \JOKI\SOP.BAT ; SOPWITH] and JOKI
  248. is in the DOS path. If you launch your DOS games from Microsoft Windows, edit
  249. the appropriate hI-score program and add the name of the game, for instance
  250. SOPWITH.EXE, on its second line. Use the name of the hI-score program as the
  251. startup command line. Another option is to open a DOS window, run Joki and
  252. then your game. Make sure Joki is NOT resident when you start a Windows
  253. session, so that Windows will load a fresh copy of Joki for each DOS game and
  254. enable you to switch between games. If Joki was resident before Windows
  255. started, it might need re-centering because of CPU multitasking, so rather let
  256. Windows install it.
  257.  
  258. If you edit a hI-score program and change values to zero, those functions
  259. will be disabled in the order: Left, Right, Forward, Backward, Trigger1,
  260. Trigger2. Zeroing the third and last values will disable Stick forward and
  261. Trigger2. JOKI 0 0 0 0 0 0 will disable all functions.
  262.  
  263. If Joki is 'disabled', but not hibernating, it will actually still read the
  264. joystick. To 'switch off' Joki completely, press Ctrl-Trigger2 -- Joki will
  265. hibernate till you wake it with Ctrl-Trigger2 again. Confusing indeed! You may
  266. take a short break now, but don't start playing yet.
  267.  
  268.  
  269.  
  270. o  Governing Your Computer
  271. Believe it or not, utilities are available to slow down computers. Some games
  272. don't use a timer as a reference and will run faster on faster machines. If
  273. you play BMB SOPWITH (a top end 2-D flight simulator) on a 486, it will
  274. out-fly an SR-71 BLACKBIRD. Buy a utility like MO'SLO.COM where you can
  275. specify how slow you want your computer. MO'SLO is very handy in that it's a
  276. "program loader" and cripples your computer only while you're playing. Don't
  277. play Sopwith too slow; it might get a stack overflow. Remember to re-center
  278. your joystick (if Joki is resident) with Ctrl-Trigger1 when you toggle your
  279. computer's turbo switch. Joki works best when your computer's turbo is on, if
  280. you switch off the turbo (for a slower clock speed), you might also have to
  281. adjust the Analog stick sensitivity to Low, with Left Shift-Trigger2.
  282.  
  283.  
  284.  
  285. o  Disk Vendor License
  286. Any disk vendor with plans to sell disks containing JOKI must buy a one year
  287. license from BIGGUN and pay royalties on every disk sold as follows:
  288. Cost of one year license: $5,000
  289. Royalties:
  290. (Retail price of disk or pack) / (number of unique programs in package) / 3
  291. Example:
  292. Retail price of a disk containing 7 unique programs: $9.99
  293. Royalty to BIGGUN = $9.99 / 7 / 3 = $0.48 per pack
  294.  
  295. For a one year vendor license, mail a $5,000 check and all your details to:
  296. BIGGUN Dept. DVJO
  297. (Address in "User Registration"). Continued on the next page.
  298.  
  299.  
  300.  
  301.                 - 6 -
  302.  
  303. We will email or mail a license number and a fresh copy of Joki to you for
  304. redistribution.
  305.  
  306. If you can't afford $5K, good, because we don't deal with Mickey Mouse
  307. vendors.
  308.  
  309.  
  310. o  Programmers
  311. (Write, or at least, read this chapter if you write games)
  312. Joki 2.0 works for games that poll the keyboard for input with a function like
  313. the familiar:
  314. ...
  315. 150 A$ = INKEY$ :REM A$ = INKEY$
  316. 160 IF A$ <> "" THEN GOSUB 2000 :REM GOSUB 2000 IF A$ <> ""
  317. ...
  318. If a game continues to read keys while there are keys waiting, as Sopwith
  319. does, the game will pause till the cows come home if Joki's FFFast repeat rate
  320. is selected.
  321.  
  322.  
  323.  
  324. o  Joystick Manufacturers
  325. Send BIGGUN free samples of your joysticks and game adapter cards, technical
  326. information regarding their operation as well as their multimedia drivers (if
  327. any) so that we can incorporate specific features of your products into future
  328. versions of Joki.
  329.  
  330. You can buy a $5,000 one year license to ship JOKI with your joysticks, at a
  331. royalty of $0.50 per joystick.
  332.  
  333. For a one year Joki-In-The-Box license, mail a $5,000 check to:
  334. BIGGUN Dept. JSTK
  335. (Address in "User Registration")
  336. We will email or mail a license number and a fresh copy of Joki to you for
  337. redistribution.
  338.  
  339.  
  340.  
  341. o  Wholesalers & Retailers
  342. Retailers and wholesalers of joysticks, magazines and books don't need a
  343. license from BIGGUN to sell products like joysticks packaged with Joki by
  344. their manufacturers.
  345.  
  346.  
  347.  
  348. o  Sysops and Magazines
  349. A distribution license is not required if Joki is stored on a BBS or on-line
  350. information service for retrieval by callers. This means that it's OK for a
  351. service to offer Joki to downloaders even if they're charged a membership fee
  352. and for connect time. Joki may be uploaded to on-line services, if the sender
  353. doesn't charge the receiving service for uploading Joki. If you upload Joki,
  354. use the original compressed Joki file.
  355.  
  356. Don't modify this JOKI.DOC to add your details or stamp of approval, compress
  357. extra files if you have to, e.g., BBS_AD.COM.
  358.  
  359.  
  360.  
  361.                 - 7 -
  362.  
  363. To include Joki with one issue of a magazine-or-book-with-disk-publication,
  364. send your details and a $1000 check to:
  365. BIGGUN Dept. PBJO
  366. (Address in "User Registration")
  367. We will email or mail a fresh copy of Joki to you for redistribution.
  368.  
  369. You may, however, publish an article about Joki without BIGGUN's permission.
  370.  
  371. The recipient may not be misled that Joki is free, because it is not. Paying
  372. BIGGUN is the only way to register.
  373.  
  374.  
  375.  
  376. o  User Registration
  377. If you bought a joystick, a magazine, a book, a disk, paid a BBS for
  378. downloading files from it or paid a phone company for a telephone call to
  379. retrieve files from some free electronic on-line storage/retrieval system and
  380. you 'got' Joki in the process, congratulations, you still have to pay BIGGUN
  381. $5 if you use Joki. Any individual who registers for Joki may copy it to all
  382. of his or her computers. If YOU own ten computers, lots of joysticks and a
  383. variety of games, you and your friends may use Joki in parallel on all of YOUR
  384. machines! To register; mail your details and a $5 bank note to:
  385. BIGGUN Dept. J200
  386. PO Box 21122
  387. Valhalla
  388. 0137 Rep. of South Africa
  389.  
  390. If you prefer paying by check, money order or postal order, the price is $20
  391. due to overhead processing costs. We do accept cash in other currencies as
  392. well, e.g.; franc, mark, peso, pound, rand, rouble, yen, younameit.
  393.  
  394. The most current edition of Joki is available for retrieval from major on-line
  395. information services -- if you've just downloaded Joki 2.0 from a competent
  396. service; it is the latest version. To save time, scan IBMNET on CompuServe. If
  397. you register for Joki 2.0, you are automatically registered for future JokiX
  398. 2.XX versions, so don't pay BIGGUN again if you someday download JOKI386.EXE
  399. version 2.5 or JOKIWIN.ZIP 2.31.
  400.  
  401. We'll make more money out of you if you use Fieldspec letters and type or
  402. write neatly, because you'll save us work. Use the following format:
  403. N LAST NAME, FIRST NAME, MIDDLE INITIAL
  404. A POSTAL ADDRESS
  405. C COUNTRY
  406. P PHONE
  407. F FAX
  408. K AGE
  409. E YOUR EMAIL ADDRESS OR ON-LINE INFORMATION SERVICE AND USER ID
  410. V NAME OF DISK VENDOR, IF YOU BOUGHT A DISK CONTAINING JOKI
  411. B NAME OF ON-LINE SERVICE OR BBS, IF YOU DOWNLOADED JOKI
  412. S NAME OF JOYSTICK MANUFACTURER IF YOU BOUGHT A JOYSTICK WITH JOKI-IN-THE-BOX
  413. J MAKE AND MODEL OF YOUR JOYSTICK(S)
  414. G MAKE AND MODEL OF YOUR JOYSTICK ADAPTER CARD(S)
  415. I CPU TYPE OF YOUR COMPUTER, E.G., 80386
  416. L LIST OF YOUR FAVORITE GAMES YOU PLAY USING JOKI
  417. W YOUR FAVORITE OPERATING SYSTEM
  418. o OTHER FEEDBACK
  419.  
  420.  
  421.                 - 8 -
  422.  
  423. Precede each field with its Fieldspec letter. If a field has more lines, start
  424. each of its lines with the same Fieldspec letter. All fields except name are
  425. optional, for instance:
  426.  
  427. N GYPSY, JOLLY
  428. K 32
  429. J HOME MADE ZAPPER
  430. J HOME MADE TETRA2
  431. G HOME MADE ZAPADAPTER
  432. V FA$T BUCK SYSTEMS
  433. L SOPWITH, NIBBLES, PACWORM, PARATROOPER, MOONLANDER
  434. W DOORS
  435. o IT WOULD BE NICE IF YOU COULD MAKE JOKI BEEP INSTEAD OF PAUSE WHEN I CHANGE
  436. o ITS SETTINGS ON-THE-FLY -- USE THREE SHORT BEEPS FOR FFFAST REPEAT RATE.
  437. o I HAVE INCLUDED A DISK WITH ASSEMBLER SOURCE CODE THAT CAN ACTUALLY
  438. o DETERMINE THE NUMBER OF BUTTONS ON A JOYSTICK AND WHETHER IT HAS TRIM
  439. o CONTROL SWITCHES OR NOT.
  440. o MY PATENTED TETRA2 JOYSTICK DOES NOT WORK WITH JOKI, READ THE FILE
  441. o TETRA2.ASM (ALSO ON THE DISK) FOR COMPATIBILITY INFORMATION.
  442.  
  443. EnJoy!
  444.  
  445.